package com.shycloud.mido.organ.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.organ.api.entity.TeacherInfoEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 教师管理
 *
 * @author jtzhang
 * @date 2019-03-08 13:16:46
 */
public interface TeacherInfoMapper extends BaseMapper<TeacherInfoEntity> {

    /**
     * 获取教师信息
     *
     * @param memberId      会员id
     * @return R
     */
	TeacherInfoEntity getByMemberId(@Param("memberId") String memberId);

    /**
     * 获取会员身份
     * @param memberId 会员Id
     * @return list
     */
	List<String> getMembership(@Param("memberId") String memberId);

    /**
     * 获取认证身份
     * @param memberId 会员Id
     * @return list
     */
    List<String> getAttestation(@Param("memberId") String memberId);

}
